public class test {
    public static void main(String[] args) {
        MyArray myArray = new MyArray();
        myArray.add(0);
        myArray.add(1);
        myArray.add(2);
        myArray.add(3);
        myArray.display();
        System.out.println();
        System.out.println("==============");
        myArray.add(0,199);
        myArray.add(1,666);
        myArray.display();
        System.out.println();
        boolean ret = myArray.contains(666);
        System.out.println(ret);
        int ret1 = myArray.indexOf(666);
        System.out.println(ret1);
        int ret2 = myArray.get(1);
        System.out.println(ret2);
        myArray.remove(199);
        myArray.display();
        System.out.println();
        int ret3 = myArray.size();
        System.out.println(ret3);
        myArray.clear();
        System.out.println("====");
        myArray.display();
        System.out.println("===");
    }
}
